package cn.tedu.easybuy.entity;

import java.util.Date;

/**
 * 留言实体类
 */
public class Comment {
    /**
     * 编号
     */
    private Integer ecId;
    /**
     * 内容
     */
    private String content;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 回复
     */
    private String reply;
    /**
     * 回复时间
     */
    private Date replyTime;
    /**
     * 昵称
     */
    private String nickName;

    public Comment(){}

    public Comment(Integer ecId, String content, Date createTime,
                   String reply, Date replyTime, String nickName) {
        this.ecId = ecId;
        this.content = content;
        this.createTime = createTime;
        this.reply = reply;
        this.replyTime = replyTime;
        this.nickName = nickName;
    }

    public Integer getEcId() {
        return ecId;
    }

    public void setEcId(Integer ecId) {
        this.ecId = ecId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    public Date getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "ecId=" + ecId +
                ", content='" + content + '\'' +
                ", createTime=" + createTime +
                ", reply='" + reply + '\'' +
                ", replyTime=" + replyTime +
                ", nickName='" + nickName + '\'' +
                '}';
    }
}


















